package org.example.executor;

import org.example.config.Configurations;
import org.example.dto.SqlData;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface Executor {

    public <T> List<T> query(Configurations configurations, SqlData sqlData, Object ...args) throws SQLException, ClassNotFoundException, NoSuchFieldException, IllegalAccessException, InstantiationException, IntrospectionException, InvocationTargetException;
}
